package cn.jkgly.wxUser.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Description: wx_user
 * @Author: jeecg-boot
 * @Date:   2020-02-08
 * @Version: V1.0
 */
@Data
@TableName("wx_user1")
public class WxUser implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**id*/
	@TableId(type = IdType.AUTO)
    private Integer id;
	/**account*/
	@Excel(name = "account", width = 15)
	private java.lang.String account;
	/**username*/
	@Excel(name = "username", width = 15)
	private java.lang.String username2;
	/**password*/
	@Excel(name = "password", width = 15)
	private java.lang.String password;
	/**age*/
	@Excel(name = "age", width = 15)
	private java.lang.Integer age;
	/**openid*/
	@Excel(name = "openid", width = 15)
	private java.lang.String openid;
	/**昵称*/
	@Excel(name = "昵称", width = 15)
	private java.lang.String nickname;
	/**unionid*/
	@Excel(name = "unionid", width = 15)
	private java.lang.String unionid;
	/**phoneNumber*/
	@Excel(name = "phoneNumber", width = 15)
	private java.lang.String phoneNumber;
	/**createtime*/
	@Excel(name = "createtime", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private java.util.Date createtime;
	/**authorization*/
	@Excel(name = "authorization", width = 15)
	private java.lang.String authorization;
	@TableField(exist=false)
	private List<WxUserButton> button =new ArrayList<WxUserButton>();
}
